#ifndef _GLRENDER_H
#define _GLRENDER_H

#include "global.h"
#include "FrameBuffer.h"

#ifdef __cplusplus
extern "C" {
#endif

void Init(int w, int h);
void UnInit();
void setFrame(FrameBuffer *fp);
bool _getvideoframe();
void clearCurFrame();
void flush(bool all);

void pause();
void resume();
void setDisplayMode(int view_width, int view_height, bool fLandscape, bool clip4match);
void setRotation(int rotation);
int getRotation();
void setColorAdjust(float brightness, float contrast, float saturation);

#ifdef __cplusplus
}
#endif
#endif
